@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="categoryInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6">
                    <#icon id="iconPath" name="专辑logo" underline="true" />
                    <#select id="bannerList" name="所属栏目" >
                    @for(banner in bannerList) {
                    <option value="${banner.id}">${banner.name}</option>
                    @}
                </#select>


                </div>
                <div class="col-sm-6">
                    <#input id="categoryName" name="专辑名称" underline="true" />
                    <#input id="type" name="类型" underline="true" />



                    <#input id="recRate" name="推荐排序" underline="true" />
                </div>
                <div class="col-sm-12">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">简介</label>
                    </div>
                    <textarea name="intro" id="intro"></textarea>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="CategoryInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="CategoryInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/js/ckeditor/ckeditor.js">
</script>
<script type="text/javascript">
    CKEDITOR.replace('intro');
</script>
<script src="${ctxPath}/static/modular/app/category/video/category_info.js"></script>
@}

